package com.clf.oms.webapp.controller;

import com.alibaba.dubbo.config.annotation.Reference;
import com.clf.bms.facade.TestFacade;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RequestMapping("oms")
@RestController
public class TestController {

    @Reference
    private TestFacade testFacade;

    @RequestMapping("index")
    public String test() {

        //return "oms" + System.currentTimeMillis();
        return testFacade.get(System.currentTimeMillis() + "");
    }

}
